package com.kiss.rpc.enumeration;

import lombok.Getter;

public enum RequestType {
    REQUEST((byte) 1, "普通请求"),
    HEART_BEAT((byte) 2, "心跳请求");

    @Getter private final byte id;
    @Getter private final String type;

    RequestType(byte id, String type) {
        this.id = id;
        this.type = type;
    }
}
